﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VISS.API.Users {

    public interface IUserIdx {

        bool Add(UserGeneralProfileEnt gItem);
        bool Add(List<UserGeneralProfileEnt> gItems);

        bool Update(UserGeneralProfileEnt gItem);
        bool Update(List<UserGeneralProfileEnt> gItems);

        bool Delete(string userKey);
        bool DeleteAll();

        List<SolrUserIdxEnt> QuickSearch(int pageIndex, int pageSize, UserSrhEnt srhItem, bool forceRefresh, out int totalRecords);
    }
}
